package com.naiterui.ehp.bs.cms.modules.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bp.support.bean.annotation.Fen2Yuan;
import com.naiterui.ehp.bs.cms.common.json.Dict;
import lombok.Data;

import java.util.Date;

@Data
public class ConsultSessionVO {
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    private Long doctorId;

    private String doctorName;

    private Long patientId;

    /**
     * 就诊人
     */
    private String inquirerName;

    /**
     * 陪诊人
     */
    private String patientName;

    /**
     * 就诊人与患者关系
     */
    private Integer inquirerRelation;

    /**
     * 就诊人与患者关系
     */
    private String inquirerRelationName;

    /**
     * 会话关系。0：患者发起；1：医生发起
     */
    @Dict(type = "consult_session_relation")
    private Integer relation;

    @Fen2Yuan
    private Integer cost;

    /**
     * 会话ID
     */
    private String sessionId;

}
